package part1;

public class Popcorn {
    private static final Popcorn INSTANCE = new Popcorn();

    public static Popcorn getInstance() {
        return INSTANCE;
    }

    public void on() {
        System.out.println("爆米花机打开了");
    }

    public void off() {
        System.out.println("爆米花机关闭了");
    }

    public void pop() {
        System.out.println("正在制作爆米花");
    }
}
